<?php

namespace App\Http\Form;

use Illuminate\Validation\Validator;

class CustomerValidator extends Validator
{

    /**
     * @param array $excludeRules
     */
    public function setExcludeRules(array $excludeRules = [])
    {
        $this->excludeRules = array_unique(array_merge($this->excludeRules, $excludeRules));
    }


    public function getExcludeRules(): array
    {
        return $this->excludeRules;
    }
}
